import { createApp } from 'vue'
import App from './App.vue'
import router from './router'
import store from './store'
import "./assets/css/common.scss";
import "./assets/css/reset.css";
import 'amfe-flexible'; // 设置html跟字体的大小
import 'vant/es/toast/style'; // 引入函数的样式

import myNavBar from './components/myNavBar.vue';
// 引入导航组件
const app = createApp(App);
app.component('my-nav-bar', myNavBar);
// 全局注册导航组件
app.use(store).use(router).mount('#app')